package com.kayden.blog.service;

import com.kayden.blog.common.pojo.dataobject.BlogInfo;
import com.kayden.blog.common.pojo.request.AddBlogRequest;
import com.kayden.blog.common.pojo.request.UpdateBlogRequest;
import com.kayden.blog.common.pojo.response.BlogInfoResponse;

import java.util.List;

public interface BlogService {

    List<BlogInfoResponse> getList();

    BlogInfoResponse getBlogDetail(Integer blogId);

    BlogInfo getBlogInfo(Integer blogId);

    Boolean addBlog(AddBlogRequest addBlogRequest);

    Boolean updateBlog(UpdateBlogRequest updateBlogRequest);

    Boolean deleteBlog(Integer blogId);
}
